package com.geekstudy.week9;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class Week9RPCProviderMain {

    static Logger logger = LoggerFactory.getLogger(Week9RPCProviderMain.class);

    public static void main(String[] args) {

        ConfigurableApplicationContext configurableApplicationContext = SpringApplication.run(Week9RPCProviderMain.class, args);
        logger.info(" 启动 beanCount:{} ", configurableApplicationContext.getBeanDefinitionCount());


    }
}
